package com.hl.order.domain;

import java.math.BigDecimal;
import java.util.Date;
import com.fasterxml.jackson.annotation.JsonFormat;
import org.apache.commons.lang3.builder.ToStringBuilder;
import org.apache.commons.lang3.builder.ToStringStyle;
import com.ruoyi.common.core.annotation.Excel;
import com.ruoyi.common.core.web.domain.BaseEntity;

/**
 * 已入驻商家对象 shop
 * 
 * @author ruoyi
 * @date 2025-08-07
 */
public class Shop extends BaseEntity
{
    private static final long serialVersionUID = 1L;

    /** 店铺id，主键自增 */
    private Long shopId;

    /** 商家id */
    @Excel(name = "商家id")
    private Long businessId;

    /** 店铺状态（1:正常营业 2:暂不营业 3：审核中） */
    @Excel(name = "店铺状态", readConverterExp = "1=:正常营业,2=:暂不营业,3=：审核中")
    private Integer shopStatus;

    /** 店铺开门时间 */
    @JsonFormat(pattern = "yyyy-MM-dd")
    @Excel(name = "店铺开门时间", width = 30, dateFormat = "yyyy-MM-dd")
    private Date shopOpenTime;

    /** 店铺关门时间 */
    @JsonFormat(pattern = "yyyy-MM-dd")
    @Excel(name = "店铺关门时间", width = 30, dateFormat = "yyyy-MM-dd")
    private Date shopCloseTime;

    /** 店铺公告 */
    @Excel(name = "店铺公告")
    private String shopAnnouncement;

    /** 店铺名称 */
    @Excel(name = "店铺名称")
    private String shopName;

    /** 店铺联系电话 */
    @Excel(name = "店铺联系电话")
    private String shopTel;

    /** 门店地址 */
    @Excel(name = "门店地址")
    private String shopAddress;

    /** 门店简介 */
    @Excel(name = "门店简介")
    private String shopIntroduce;

    /** 店铺的商业类型 */
    @Excel(name = "店铺的商业类型")
    private String shopType;

    /** 门店头像（图片路径） */
    @Excel(name = "门店头像", readConverterExp = "图=片路径")
    private String shopAvatar;

    /** 店铺照片（图片路径） */
    @Excel(name = "店铺照片", readConverterExp = "图=片路径")
    private String shopPhoto;

    /** 营业执照（图片路径） */
    @Excel(name = "营业执照", readConverterExp = "图=片路径")
    private String shopLicense;

    /** 店铺余额 */
    @Excel(name = "店铺余额")
    private BigDecimal shopProfit;

    /** 配送费 */
    @Excel(name = "配送费")
    private BigDecimal deliveryFee;

    /** 门牌号 */
    @Excel(name = "门牌号")
    private Long roomNo;

    public void setShopId(Long shopId) 
    {
        this.shopId = shopId;
    }

    public Long getShopId() 
    {
        return shopId;
    }

    public void setBusinessId(Long businessId)
    {
        this.businessId = businessId;
    }

    public Long getBusinessId()
    {
        return businessId;
    }

    public void setShopStatus(Integer shopStatus)
    {
        this.shopStatus = shopStatus;
    }

    public Integer getShopStatus()
    {
        return shopStatus;
    }

    public void setShopOpenTime(Date shopOpenTime) 
    {
        this.shopOpenTime = shopOpenTime;
    }

    public Date getShopOpenTime() 
    {
        return shopOpenTime;
    }

    public void setShopCloseTime(Date shopCloseTime) 
    {
        this.shopCloseTime = shopCloseTime;
    }

    public Date getShopCloseTime() 
    {
        return shopCloseTime;
    }

    public void setShopAnnouncement(String shopAnnouncement) 
    {
        this.shopAnnouncement = shopAnnouncement;
    }

    public String getShopAnnouncement() 
    {
        return shopAnnouncement;
    }

    public void setShopName(String shopName) 
    {
        this.shopName = shopName;
    }

    public String getShopName() 
    {
        return shopName;
    }

    public void setShopTel(String shopTel) 
    {
        this.shopTel = shopTel;
    }

    public String getShopTel() 
    {
        return shopTel;
    }

    public void setShopAddress(String shopAddress) 
    {
        this.shopAddress = shopAddress;
    }

    public String getShopAddress() 
    {
        return shopAddress;
    }

    public void setShopIntroduce(String shopIntroduce) 
    {
        this.shopIntroduce = shopIntroduce;
    }

    public String getShopIntroduce() 
    {
        return shopIntroduce;
    }

    public void setShopType(String shopType) 
    {
        this.shopType = shopType;
    }

    public String getShopType() 
    {
        return shopType;
    }

    public void setShopAvatar(String shopAvatar) 
    {
        this.shopAvatar = shopAvatar;
    }

    public String getShopAvatar() 
    {
        return shopAvatar;
    }

    public void setShopPhoto(String shopPhoto) 
    {
        this.shopPhoto = shopPhoto;
    }

    public String getShopPhoto() 
    {
        return shopPhoto;
    }

    public void setShopLicense(String shopLicense) 
    {
        this.shopLicense = shopLicense;
    }

    public String getShopLicense() 
    {
        return shopLicense;
    }

    public void setShopProfit(BigDecimal shopProfit) 
    {
        this.shopProfit = shopProfit;
    }

    public BigDecimal getShopProfit() 
    {
        return shopProfit;
    }

    public void setDeliveryFee(BigDecimal deliveryFee) 
    {
        this.deliveryFee = deliveryFee;
    }

    public BigDecimal getDeliveryFee() 
    {
        return deliveryFee;
    }

    public void setRoomNo(Long roomNo) 
    {
        this.roomNo = roomNo;
    }

    public Long getRoomNo() 
    {
        return roomNo;
    }

    @Override
    public String toString() {
        return new ToStringBuilder(this,ToStringStyle.MULTI_LINE_STYLE)
            .append("shopId", getShopId())
            .append("businessId", getBusinessId())
            .append("shopStatus", getShopStatus())
            .append("shopOpenTime", getShopOpenTime())
            .append("shopCloseTime", getShopCloseTime())
            .append("shopAnnouncement", getShopAnnouncement())
            .append("shopName", getShopName())
            .append("shopTel", getShopTel())
            .append("shopAddress", getShopAddress())
            .append("shopIntroduce", getShopIntroduce())
            .append("shopType", getShopType())
            .append("shopAvatar", getShopAvatar())
            .append("shopPhoto", getShopPhoto())
            .append("shopLicense", getShopLicense())
            .append("shopProfit", getShopProfit())
            .append("deliveryFee", getDeliveryFee())
            .append("roomNo", getRoomNo())
            .toString();
    }
}
